import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SIntegralExchangeRecord
    
    export  class SIntegralExchangeRecord
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeString(this.playerName);
            arg1.writeInt(this.cost);
            arg1.writeInt(this.unit);
            arg1.writeInt(this.itemCode);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.playerName = arg1.readString();
            this.cost = arg1.readInt();
            this.unit = arg1.readInt();
            this.itemCode = arg1.readInt();
            return;
        }

        public /* var */playerName: string;

        public /* var */cost: int;

        public /* var */unit: int;

        public /* var */itemCode: int;
    }
